Remote MongoDB Service

  • Global factory const which can be used to create a RemoteMongoClient with a StitchAppClient. Pass into StitchAppClient.serviceClient(fromFactory:withName) to get a `RemoteMongoClient.

    Declaration

    Swift

    public let remoteMongoClientFactory: AnyNamedServiceClientFactory<RemoteMongoClient>
  • A class which can be used to get database and collection objects which can be used to interact with MongoDB data via the Stitch MongoDB service.

    See more

    Declaration

    Swift

    public class RemoteMongoClient
  • A class representing a MongoDB database accesible via the Stitch MongoDB service.

    See more

    Declaration

    Swift

    public class RemoteMongoDatabase
  • A class representing a MongoDB collection accesible via the Stitch MongoDB service. Operations against the Stitch server are performed asynchronously.

    See more

    Declaration

    Swift

    public class RemoteMongoCollection<T> where T : Decodable, T : Encodable
  • A cursor of documents which can be traversed asynchronously. A RemoteMongoCursor can be the result of a find or aggregate operation.

    See more

    Declaration

    Swift

    public class RemoteMongoCursor<T> where T : Decodable, T : Encodable
  • Represents a find or aggregate operation against a MongoDB collection. Use the methods in this class to execute the operation and retrieve the results.

    See more

    Declaration

    Swift

    public class RemoteMongoReadOperation<T> where T : Decodable, T : Encodable